<?php

namespace app\store\model;

use think\Model;
use think\model\concern\SoftDelete;

class Task extends Model
{
    use SoftDelete;

    protected $table = 'xyl_activity_task';

    protected $autoWriteTimestamp = 'int';

    protected $defaultSoftDelete = 0;

    protected $schema = [
        'id' => 'int',
        'store_id' => 'int',
        'task_type' => 'int',
        'expire_type' => 'int',
        'expire_time' => 'int',
        'join_num' => 'int',
        'user_combo_id' => 'int',
        'group_activity_id' => 'int',
        'start_time' => 'int',
        'give_integral' => 'int',
        'give_coupon' => 'string',
        'end_time' => 'int',
        'status' => 'int',
        'create_time' => 'int',
        'update_time' => 'int',
        'delete_time' => 'int',
    ];
}